package com.amazon.ags.client.leaderboards;

import android.util.Log;
import com.amazon.ags.api.leaderboards.Score;
import com.amazon.ags.api.profiles.Player;

public class ScoreImp
  implements Score
{
  private static final String FEATURE_NAME = "LB";
  private static final String TAG = "LB_" + ScoreImp.class.getSimpleName();
  private String leaderboard;
  private Player player;
  private int rank;
  private long scoreValue;

  public ScoreImp(long paramLong, Player paramPlayer, int paramInt, String paramString)
  {
    Log.d(TAG, "Creating score with score value " + paramLong + " player " + paramPlayer + " rank " + paramInt + " leaderboard " + paramString);
    this.scoreValue = paramLong;
    this.player = paramPlayer;
    this.rank = paramInt;
    this.leaderboard = paramString;
  }

  public final String getLeaderboard()
  {
    return this.leaderboard;
  }

  public final Player getPlayer()
  {
    return this.player;
  }

  public final int getRank()
  {
    return this.rank;
  }

  public final String getScoreString()
  {
    return Long.toString(this.scoreValue);
  }

  public final long getScoreValue()
  {
    return this.scoreValue;
  }
}

/* Location:           E:\android\Toy Defense 2_dex2jar.jar
 * Qualified Name:     com.amazon.ags.client.leaderboards.ScoreImp
 * JD-Core Version:    0.6.2
 */